import { get } from './base'
import { recordApiURL } from '@/service/config'

export function getHotKeys() {
  return get(`${recordApiURL}/getHotKey`)
}

export function search(query, page, showSinger) {
  return get(`${recordApiURL}/search`, {
    query,
    page,
    showSinger
  })
}
